package com.gwtintegration.smartrf;

import com.google.gwt.core.ext.Generator;
import com.google.gwt.core.ext.GeneratorContext;
import com.google.gwt.core.ext.TreeLogger;
import com.google.gwt.core.ext.UnableToCompleteException;
import com.gwtintegration.smartrf.builder.ConverterBuilder;

public class ConverterGenerator extends Generator {

	public ConverterGenerator() {}

	@Override
	public String generate(TreeLogger logger, GeneratorContext context, String typeName) throws UnableToCompleteException {
		ConverterBuilder builder = new ConverterBuilder(logger, context, typeName);
		return builder.build();
	}
}
